package org.example.review.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class UserDTO {
    private Integer userId;
    private String username;
    private String department;
    private String role;
    private Integer authType;
    private String status;  // 用户状态：在职、离职等
    private String email;
    private String phone;
    private LocalDate hireDate;  // 入职日期
    
    @JsonIgnore  // 密码字段不返回给前端
    private String password;
    
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer isDeleted;
}
